Skip to content

Conversation

@ericbottard
Copy link
Member

This is resurrecting PR #4730, with the added trick of @Bean(defaultCandidate=false)

@ericbottard ericbottard added the MCP label Nov 3, 2025
@ericbottard ericbottard added this to the 1.1.0.RC1 milestone Nov 3, 2025
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should org.springframework.ai.mcp.server.common.autoconfigure.McpServerObjectMapperAutoConfiguration be added here to make sure the order is more explicit (though it will be implicitly driven by the dependency bean defined).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until proven otherwise, this is not necessary, so I'll abstain. Moreover, it would also apply to other AutoConfig that also use a bean defined by the new AutoConfig this PR introduces.
I'll continue doing some research on what is and isn't necessary, but I think if you're ok with the rest of this PR, it can be merged as is.

@ilayaperumalg ilayaperumalg self-assigned this Nov 4, 2025
@ilayaperumalg
Copy link
Member

Rebased, squashed and merged as 6d9b8e6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants